package com.shiro.demo.service.impl;

import com.shiro.demo.mapper.UserMapper;
import com.shiro.demo.pojo.User;
import com.shiro.demo.service.UserService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * impl
 * </p>
 *
 * @author liup
 * @since 2020/10/20
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getUserByName(String p_userName) {

        return userMapper.selectUserByName(p_userName);
    }
}
